package com.btpn.custody.web.m001.decorator;

import org.displaytag.decorator.TableDecorator;

import com.btpn.custody.entity.Region;

public class RegionDecorator extends TableDecorator {
	
	private Region region;
	
	public String getCheckbox() {
		region = (Region) getCurrentRowObject();
		
		//return "<input type=\"checkbox\" name=\"_chk\" id=\"checkboxid\" value=\""+systemUser.getUSERID().toString().trim()+"\"/>";
		return "<input type='checkbox' name='_chk' id='checkboxid' value='" + region.getId() + "'/>";
	}

	public Region getRegion() {
		region = (Region) getCurrentRowObject();
		
		return region;
	}

	public void setRegion(Region region) {
		this.region = region;
	}
}
